package	com.mes.entity.warehouse;

import com.mes.entity.hy.Factory;
import com.mes.entity.jy.Productroom;
import com.mes.utils.PageBean;

/**
 *
 *@ClassName: Warehouse
 *@Description: 仓库
 *@Author tdd
 *@Date 2019-05-30 11:57:13
 *@version 1.0
*/
public class Warehouse extends PageBean{
	/** 编号*/
	private Long id;
	/** 工厂*/
	private Long fid;
	private Factory factory;
	public Factory getFactory() {
		return factory;
	}
	public void setFactory(Factory factory) {
		this.factory = factory;
	}
	/** 车间*/
	private Long cid;
	private Productroom productroom;
	public Productroom getProductroom() {
		return productroom;
	}
	public void setProductroom(Productroom productroom) {
		this.productroom = productroom;
	}
	/** 仓库名称*/
	private String name;
	public void setId(Long id){
		this.id = id;
	}
	public Long getId(){
		return id;
	}
	public void setFid(Long fid){
		this.fid = fid;
	}
	public Long getFid(){
		return fid;
	}
	public void setCid(Long cid){
		this.cid = cid;
	}
	public Long getCid(){
		return cid;
	}
	public void setName(String name){
		this.name = name== null ? null : name.trim();
	}
	public String getName(){
		return name;
	}
}
